package com.lanchetech.dao;
import com.lanchetech.bean.request.PageReq;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lanchetech.entity.Disease;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface DiseaseMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Disease record);

    int insertSelective(Disease record);

    Disease selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Disease record);

    int updateByPrimaryKey(Disease record);

    List<Disease> findAllPage(PageReq req);

    int updateDeletedById(@Param("updatedDeleted")Byte updatedDeleted,@Param("id")Long id);

    List<Disease> findAll();




}